package cn.hnc.checkapi.service;

import cn.hnc.checkapi.repository.MotorRepository;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MotorService {
   @Autowired
   private MotorRepository motorRepository;

   public List findAtrributeByElecModel(String elecModel) {
      return this.motorRepository.findAtrributeByElecModel(elecModel);
   }
}
